package com.eastmoney.gamecode.constant;

/**
 * 游戏常量
 *
 * @author
 * @date 2023-09
 */
public class GameConstants {
    // 坦克移动速度
    public static final int TANK_MOVEMENT_SPEED = 10;

    // 子弹移动速度
    public static final int BULLET_MOVEMENT_SPEED = 15;

    // 下采样
    public static final int DOWNSAMPLING = 5;

    // 对战区域大小
    public static final int BATTLE_AREA_WIDTH = 1400;
    public static final int BATTLE_AREA_HEIGHT = 860;

    // 毒圈扣血速度
    public static final int POISON_DAMAGE_RATE = 5;

    // 坦克大小
    public static final int TANK_WIDTH = 50;
    public static final int TANK_HEIGHT = 50;

    // 地图元素大小
    public static final int BRICK_SIZE = 50;
    public static final int GRASS_SIZE = 50;
    public static final int IRON_BLOCK_SIZE = 50;
    public static final int RIVER_SIZE = 50;

    // 子弹大小
    public static final int BULLET_WIDTH = 10;
    public static final int BULLET_HEIGHT = 5;

    // 刷新频率
    public static final int REFRESH_RATE = 100; // 每100ms调用一次玩家接口
    public static final int DIS = 1;

}
